// $Id: undefined_type_info_value.cpp 2 2009-09-02 08:47:42Z joseph2002 $
/*
 * Copyright 2009 Joseph Wu
 * Distributed under the Boost Software License, Version 1.0.
 * (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
 *
 * For more information, see http://xpcomplus.sourceforge.net
 */

#include <iostream>
#include <xpcom/string.hpp>
#include <xpcom/type_info.hpp>

struct A
{
};

namespace xpcom {

XPCOM_TYPE_INFO_DECL(A, int)
XPCOM_TYPE_INFO_NAME(A, "aaa")

}

int main()
{
    using namespace xpcom;
    std::cout << typeid_of<A>() << std::endl;
}
